<template>
  <div>
    <el-card shadow="never" class="mb20">
      <access-form @search="handleSearch" ref="accessForm" />
    </el-card>

    <el-card shadow="never">
      <access-table ref="accessTable" />
    </el-card>
  </div>
</template>

<script>
import AccessForm from './AccessForm'
import AccessTable from './AccessTable'

export default {
  components: {
    AccessForm,
    AccessTable
  },
  methods: {
    // 表单查询
    handleSearch(values) {
      this.$refs.accessTable.handleGetList(values)
    }
  }
}
</script>